// Check if ati element array on current hardware...
const GLubyte* pStr = glGetString(
	//GL_VENDOR
	//GL_RENDERER
	//GL_VERSION
	//GL_SHADING_LANGUAGE_VERSION
	GL_EXTENSIONS
	);
string str;
if (pStr != NULL)
	str = reinterpret_cast<const char*>(pStr);
if (str.find("GL_ATI_element_array"))
	printf("GL_ATI_element_array available");